//
//  NSString+LLEmojiCheck.h
//  live.ly
//
//  Created by bob on 2016/9/24.
//  Copyright © 2016年 musical.ly. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface NSString (LLEmojiCheck)

/**
 Calculate the NSRange for every emoji on the string.
 
 @return array with the range for every emoji.
 */
- (NSArray *)emo_emojiRanges;

/**
 Calculate if the string has any emoji.
 
 @return YES if the string has emojis, No otherwise.
 */
- (BOOL)emo_containsEmoji;

/**
 Calculate if the string consists entirely of emoji.
 
 @return YES if the string consists entirely of emoji, No otherwise.
 */
- (BOOL)emo_isPureEmojiString;

/**
 Calculate number of emojis on the string.
 
 @return the total number of emojis.
 */
- (NSInteger)emo_emojiCount;

@end
